package com.homework07.work01;

/*
Manager类
*/
public class Manager {
    private String name;
    private int id;
    private double salary;
    private double bouns;

    public void work() {
        System.out.println("工号为" + id + "基本工资为" + salary + "奖金为" + bouns + "的项目经理"+name+"正在努力的做着管理工作,分配任务,检查员工提交上来的代码.....");
    }

    public Manager() {
    }

    public Manager(String name, int id, double salary, double bouns) {
        this.name = name;
        this.id = id;
        this.salary = salary;
        this.bouns = bouns;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public double getBouns() {
        return bouns;
    }

    public void setBouns(double bouns) {
        this.bouns = bouns;
    }
}
